package com.cq.hd.common.constant;

/**
 * @description:
 * @author: mYunYu
 * @date: 2021/8/3 18:13
 * @version: v1.0
 */
public class RabbitMqConstant {

    // 商家入驻
    public static final String BUSINESS_ENTER_EXCHANGE_DIRECT = "exchange_direct_business_enter";
    public static final String BUSINESS_ENTER_QUEUE = "queue_business_enter";
    public static final String BUSINESS_ENTER_ROUTING_KEY = "routing_business_enter";

    // 商户入驻
    public static final String MERCHANT_ENTER_EXCHANGE_DIRECT = "exchange_direct_merchant_enter";
    public static final String MERCHANT_ENTER_QUEUE = "queue_merchant_enter";
    public static final String MERCHANT_ENTER_ROUTING_KEY = "routing_merchant_enter";

    // 用户/商家登录记录
    public static final String USER_LOGIN_RECORD_EXCHANGE_DIRECT = "exchange_direct_user_login_record";
    public static final String USER_LOGIN_RECORD_QUEUE = "queue_user_login_record";
    public static final String USER_LOGIN_RECORD_ROUTING_KEY = "routing_user_login_record";

    // 商户登录记录
    public static final String MERCHANT_LOGIN_RECORD_EXCHANGE_DIRECT = "exchange_direct_merchant_login_record";
    public static final String MERCHANT_LOGIN_RECORD_QUEUE = "queue_merchant_login_record";
    public static final String MERCHANT_LOGIN_RECORD_ROUTING_KEY = "routing_merchant_login_record";

    // 订单延时队列
    public static final String DL_ORDER_EXCHANGE_DIRECT = "exchange_direct_dl_order";
    public static final String DL_ORDER_QUEUE = "queue_dl_order";
    public static final String DL_ORDER_ROUTING_KEY = "routing_dl_order";

    public final static String X_DELAYED_MESSAGE = "x-delayed-message";
    public final static String X_DELAYED_TYPE_KEY = "x-delayed-type";
    public final static String X_DELAYED_TYPE_VALUE = "direct";

    // 订单退款
    public static final String ORDER_REFUND_EXCHANGE_DIRECT = "exchange_direct_order_refund";
    public static final String ORDER_REFUND_QUEUE = "queue_order_refund";
    public static final String ORDER_REFUND_ROUTING_KEY = "routing_order_refund";

    // 订单核销
    public static final String ORDER_VERIFY_EXCHANGE_DIRECT = "exchange_direct_order_verify";
    public static final String ORDER_VERIFY_QUEUE = "queue_order_verify";
    public static final String ORDER_VERIFY_ROUTING_KEY = "routing_order_verify";

    // 通知消息
    public static final String NOTIFY_MSG_EXCHANGE_DIRECT = "exchange_direct_notify_msg";
    public static final String NOTIFY_MSG_QUEUE = "queue_notify_msg";
    public static final String NOTIFY_MSG_ROUTING_KEY = "routing_notify_msg";

    // 活动浏览记录
    public static final String ACTIVE_BROWSE_EXCHANGE_DIRECT = "exchange_direct_active_browse";
    public static final String ACTIVE_BROWSE_QUEUE = "queue_active_browse";
    public static final String ACTIVE_BROWSE_ROUTING_KEY = "routing_active_browse";

    // 提现打款
    public static final String WITHDRAWAL_EXCHANGE_DIRECT = "exchange_direct_withdrawal";
    public static final String WITHDRAWAL_QUEUE = "queue_withdrawal";
    public static final String WITHDRAWAL_ROUTING_KEY = "routing_withdrawal";

}
